import request from '@/utils/request'

//保存YWechatEnterpriseConfig
export function enterpriseConfigcreate(data) {
    return request({
        url: '/enterpriseConfig/create',
        method: 'post',
        data
    })
}
//查询YWechatEnterpriseConfig列表
export function enterpriseConfiglist(data) {
    return request({
        url: '/enterpriseConfig/list',
        method: 'get',
        params: data
    })
}


//根据条件查询所有用户列表-没用
export function sysuserlist() {

    return request({
        url: '/sys/user/list',
        method: 'get',

    })
}
//获取当前登录用户信息
export function sysauthinfo() {
    return request({
        url: '/sys/auth/info',
        method: 'get',

    })
}

//更新YWechatEnterpriseConfig

export function enterpriseConfigupdate(data) {
    return request({
        url: '/enterpriseConfig/update',
        method: 'post',
        data

    })
}


//用戶消息配置接口


//查询TbInformConfig明细
export function informConfigget(id) {
    return request({
        url: '/informConfig/get/' +id,
        method: 'get',
    })
}



//更新/informConfig/create

export function informConfigcreate(data) {
    return request({
        url: '/informConfig/create',
        method: 'post',
        data

    })
}




